Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

150
Views
Tabla de multiplicar 1 x 1 = 1 | 1x2 = 2 | 1 x 3 = 3 usando matriz 2d Javascript

Soy un principiante en Javascript y necesito crear una tabla de multiplicar usando una matriz 2d. El resultado debería ser El resultado debería ser el siguiente: 1 x 1 = 1 | 1x2 = 2 | 1 x 3 = 3. Tengo las siguientes variables que no puedo modificar. ¿Alguien puede ayudar?

constante n = 3; constante calc = [];

 for (let i = 1; i < n; i++) { for (let j = 1; j < n; j++) { } }console.log(calc);
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

¿Es esto lo que estás buscando?

 function calc(n){ for (let i = 1; i <= n; i++) { for (let j = 1; j <= n; j++) { console.log(`${i} * ${j} = ${i*j}`) } } } calc(3)

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!